﻿using _1_Interfaces.Models.Tables.Cjw;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace _1_Interfaces.Interfaces.Cjw
{
    /// <summary>
    /// 科室管理
    /// </summary>
    public interface IDepartmentService
    {
        /// <summary>
        /// 获取科室列表
        /// </summary>
        /// <returns></returns>
        List<DepartmentList> GetDepartmentList();

        /// <summary>
        /// 新增科室
        /// </summary>
        /// <param name="departmentList"></param>
        /// <returns></returns>
        bool AddDepartment(DepartmentList departmentList);

        /// <summary>
        /// 删除科室
        /// </summary>
        /// <param name="departmentId">科室id</param>
        /// <returns></returns>
        bool DelDepartment(int departmentId);
    }
}
